<?php

namespace App\Exceptions;

use Symfony\Component\HttpKernel\Exception\HttpException;

class BadException extends HttpException
{
    public function __construct($message = "Bad Request", $code = 422, \Throwable $previous = null)
    {
        parent::__construct($code, $message, $previous);
    }
}
